package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教师对象 sys_teacher
 * 
 * @author ruoyi
 * @date 2025-04-14
 */
public class SysTeacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 教师ID */
    private String teacherId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String userId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 工号 */
    @Excel(name = "工号")
    private String number;

    /** 使用期限-开始 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "使用期限-开始", width = 30, dateFormat = "yyyy-MM-dd")
    private Date useBeginTime;

    /** 使用期限-结束 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "使用期限-结束", width = 30, dateFormat = "yyyy-MM-dd")
    private Date useEndTime;

    /** 删除标识(0否1是) */
    @Excel(name = "删除标识(0否1是)")
    private Long isDelete;

    /** 所属学校 */
    @Excel(name = "所属学校")
    private String deptId;

    public void setTeacherId(String teacherId) 
    {
        this.teacherId = teacherId;
    }

    public String getTeacherId() 
    {
        return teacherId;
    }

    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }

    public void setUseBeginTime(Date useBeginTime) 
    {
        this.useBeginTime = useBeginTime;
    }

    public Date getUseBeginTime() 
    {
        return useBeginTime;
    }

    public void setUseEndTime(Date useEndTime) 
    {
        this.useEndTime = useEndTime;
    }

    public Date getUseEndTime() 
    {
        return useEndTime;
    }

    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    public void setDeptId(String deptId) 
    {
        this.deptId = deptId;
    }

    public String getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("teacherId", getTeacherId())
            .append("userId", getUserId())
            .append("name", getName())
            .append("number", getNumber())
            .append("useBeginTime", getUseBeginTime())
            .append("useEndTime", getUseEndTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDelete", getIsDelete())
            .append("remark", getRemark())
            .append("deptId", getDeptId())
            .toString();
    }
}
